UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The audit system must be configured to audit login, logout, and session initiation.


Overview

Finding ID Version Rule ID IA Controls Severity
V-818 GEN002800 SV-45340r1_rule Medium
Description
If the system is not configured to audit certain activities and write them to an audit log, it is more difficult to detect and track system compromises and damages incurred during a system compromise.
STIG Date
SUSE Linux Enterprise Server v11 for System z 2017-05-18

Details

Check Text ( C-42690r1_chk )
The message types that are always recorded to /var/log/audit/audit.log include LOGIN,USER_LOGIN,USER_START,USER_END among others and do not need to be added to audit_rules.

The log files /var/log/faillog and /var/log/lastlog must be protected from tampering of the login records.

Procedure:

# egrep "faillog|lastlog" /etc/audit/audit.rules|grep -e "-p (wa|aw)"

If both /var/log/faillog and /var/log/lastlog entries do not exist, this is a finding.
Fix Text (F-38736r1_fix)
Ensure logins

Procedure:
Modify /etc/audit/audit.rules to contain:

-w /var/log/faillog -p wa
-w /var/log/lastlog -p wa

Restart the auditd service.
# rcauditd restart
OR
# service auditd restart